#-------------------------------------------------
#
# Project created by QtCreator 2024-09-10T19:29:50
#
#-------------------------------------------------

QT       += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET =../bin/ProjectManagerV2
TEMPLATE = app

include($$PWD/3rdparty/SARibbon/importSARibbonBarLib.pri)
include($$PWD/pugixml.pri)

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
RC_FILE = icon.rc
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++14

SOURCES += \
        Project/NewUpdateChannelDialog.cpp \
        attrib/AttribBaseForm.cpp \
        attrib/CollectChannelCountForm.cpp \
        attrib/CollectChannlForm.cpp \
        CustomClass/QProjectTreeWidget.cpp \
        Project/CommInputDialog.cpp \
        Project/NewCollectChannelDialog.cpp \
        Project/NewDeviceDialog.cpp \
        Project/NewProjectDialog.cpp \
        ProtocolDialog.cpp \
        attrib/CollectDeivceForm.cpp \
        attrib/ProjectAttribForm.cpp \
        attrib/UpdateChannelCountForm.cpp \
        attrib/UpdateChannelForm.cpp \
        main.cpp \
        MainWindow.cpp \
        toObject/IModelData.cpp \
        toObject/ModelXml.cpp \
        tool/DownLoadDialog.cpp \
        tool/UploadProjectDialog.cpp

HEADERS += \
        CustomClass/QProjectTreeWidget.h \
        MainWindow.h \
        Model/ProjectModel.h \
        Project/CommInputDialog.h \
        Project/NewCollectChannelDialog.h \
        Project/NewDeviceDialog.h \
        Project/NewProjectDialog.h \
        Project/NewUpdateChannelDialog.h \
        ProtocalInterface.h \
        ProtocolDialog.h \
        attrib/AttribBaseForm.h \
        attrib/CollectChannelCountForm.h \
        attrib/CollectDeivceForm.h \
        attrib/ProjectAttribForm.h \
        attrib/CollectChannlForm.h \
        attrib/UpdateChannelCountForm.h \
        attrib/UpdateChannelForm.h \
        toObject/IModelData.h \
        toObject/ModelXml.h \
        tool/DownLoadDialog.h \
        tool/UploadProjectDialog.h

FORMS += \
        Project/NewUpdateChannelDialog.ui \
        attrib/CollectChannelCountForm.ui \
        attrib/CollectChannlForm.ui \
        MainWindow.ui \
        Project/CommInputDialog.ui \
        Project/NewCollectChannelDialog.ui \
        Project/NewDeviceDialog.ui \
        Project/NewProjectDialog.ui \
        ProtocolDialog.ui \
        attrib/CollectDeivceForm.ui \
        attrib/ProjectAttribForm.ui \
        attrib/UpdateChannelCountForm.ui \
        attrib/UpdateChannelForm.ui \
        tool/DownLoadDialog.ui \
        tool/UploadProjectDialog.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    qrc.qrc
